import request from '@/utils/request'

// 会员自身待评价数量查询
export const countFeedbackForMemberService = () => {
  return request.get('/member/feedback/count')
}

// 会员自身评价查询
export const listFeedbackForMemberService = (feedbackStatus) => {
  return request.get(`/member/feedback/list/${feedbackStatus}`)
}

// 会员提交评价
export const updateFeedbackService = (feedbackUpdateDTO) => {
  return request.put('/member/feedback', feedbackUpdateDTO)
}
